#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <httpserver.h>


namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    
public slots:
    void onStarted();
    void onStopped();
    void onError(QString msg);
    void onWriteLog(QString msg);
    void onStartClicked();
    void onStopClicked();
    void onDirClicked();

private:
    Ui::MainWindow *ui;
    HttpServer server;
};

#endif // MAINWINDOW_H
